How can I make setInterval stop after alerting once in JavaScript

welcome to shbcf.ru